package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	HeadImage  string `gorm:"type:varchar(300);not null;comment:'头像'"`
	Name       string `gorm:"type:varchar(30);not null;comment:'昵称'"`
	Address    string `gorm:"type:varchar(50);not null;comment:'地址'"`
	Mobile     string `gorm:"type:char(11);not null;comment:'手机号'"`
	PassWord   string `gorm:"type:char(32);not null;comment:'密码'"`
	WechatName string `gorm:"type:varchar(30);not null;comment:'微信号'"`
}

type FriendUser struct {
	FriendId  int64
	Name      string
	HeadImage string
}
